package shared.pojo

import upickle.default._

/**
 * Created by yz on 13/7/2022
 */
object SampleId {

  object GetNewIds {

    case class Request(num: Int,account:String)

    implicit val requestRw = macroRW[Request]

  }

  object SampleIdCheck {

    case class Request(sampleId: String)

    implicit val requestRw = macroRW[Request]

  }

  object Add2Db {

    case class Request(ids: List[String], account: String)

    object Request {

      implicit val rw = macroRW[Request]

    }

  }

}
